package com.taptech.doufu.ui.activity;

import android.os.Bundle;
import android.view.View;

import com.taptech.doufu.R;
import com.taptech.doufu.ui.activity.base.DiaobaoBaseActivity;
import com.taptech.doufu.ui.fragment.CartoonDayFragment;

import androidx.fragment.app.FragmentManager;
import androidx.fragment.app.FragmentTransaction;

/**
 * Created by Administrator on 2017/5/17/017.
 */

public class ComicDayActivity extends DiaobaoBaseActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_cartoon_day);
        FragmentManager manager = getSupportFragmentManager();
        FragmentTransaction transaction = manager.beginTransaction();
        transaction.add(R.id.contentView,new CartoonDayFragment());
        transaction.commit();
    }


    public void back(View view) {
        onBackPressed();
    }
}
